import Vue from 'vue';
import  Vuex from "vuex";
// 路由器注册
import VueRouter from 'vue-router';
Vue.use(VueRouter);
import axios from './utils/http.js'
import VueAxios from 'vue-axios'

Vue.use(VueAxios,axios);
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Element from 'element-ui';
// import { Button, Select } from 'element-ui';
// Vue.component(Button.name, Button);
// Vue.component(Select.name, Select);

import router from "./router.js"
import App  from "./App.vue";

Vue.use(ElementUI);

Vue.use(Element, { size: 'small', zIndex: 3000 });
Vue.prototype.$axios = axios;
const vm = new Vue({
    el: "#app",
    render: c => c(App),
    router
})
